package com.sub.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "sp_sprole")
public class SpSprole {
    @Id
    @Column(name = "sp_sprole_id")
    private Integer spSproleId;

    private String name;

    private Long state;

    /**
     * @return sp_sprole_id
     */
    public Integer getSpSproleId() {
        return spSproleId;
    }

    /**
     * @param spSproleId
     */
    public void setSpSproleId(Integer spSproleId) {
        this.spSproleId = spSproleId;
    }

    /**
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return state
     */
    public Long getState() {
        return state;
    }

    /**
     * @param state
     */
    public void setState(Long state) {
        this.state = state;
    }
}